<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div id="area">
	<div class="content" id="work">
		<p>&nbsp;</p>
    <center>
      <table width="630" border="0">
        <tr>
          <td height="29" colspan="4"><h2>Resultado de busqueda:</h2>
              Pedidos: <c:out value="${pedEstado}" />
          </td>
        </tr>
        <tr class="tableTitle">
          <td width="83">ID Pedido</td>
          <td width="125">Fec. de alquiler</td>
          <td width="125">Fec. de entrega</td>
          <td width="83">N. Horas</td>
          <td>Total</td>
          <td width="83">% Desto</td>
          <td>Descuento</td>
          <td width="83">Total Final</td>
          <td width="83">Detalle</td>
        </tr>
        <c:forEach items="${data}" var="lista">     
        <tr class="tableData">
          <td width="83"><c:out value="${lista.codigoPedido}" /></td>
          <td width="125"><c:out value="${lista.fechaInicio}" /></td>
          <td width="125"><c:out value="${lista.fechaDevolucion}" /></td>
          <td width="83"><c:out value="${lista.dias}" /></td>
          <td><c:out value="${lista.total}" /></td>
          <td width="83"><c:out value="${lista.porcentaje}" /></td>
          <td><c:out value="${lista.descuento}" /></td>
          <td width="83"><c:out value="${lista.totalFinal}" /></td>
          <td width="83"><a href="verDetalle.gsp?id=${lista.codigoPedido}"><c:out value="Detalle" /></a></td>
        </tr>
        </c:forEach>
      </table>
      <p>&nbsp;</p>
    </center>
      <p>&nbsp;</p>
	</div>
	<div class="sidenav" id="nave">
		<%@ include file="/WEB-INF/views/menu.jsp"%>
		<p>&nbsp;</p>
	</div>
</div>